package cn.kpi.entity.workassessment;

import com.alibaba.fastjson.annotation.JSONField;
import org.springframework.format.annotation.DateTimeFormat;

import java.text.SimpleDateFormat;
import java.util.Date;

public class WorkAssTemplateEntity {
    private int rowNum;
    private Long templateid;
    private String templatename;
    private String templatedes;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date begintime;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JSONField(format = "yyyy-MM-dd")
    private Date endtime;
    private Long byuserid;
    private Date createtime;
    private String remark;
    private String yearid;
    private String monthid;
    private int status;
    private String byrealname;
    private String titleName;

    public String getTitleName() {
        return titleName;
    }

    public void setTitleName(String titleName) {
        this.titleName = titleName;
    }

    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd");

    public int getRowNum() {
        return rowNum;
    }

    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }

    public Long getTemplateid() {
        return templateid;
    }

    public void setTemplateid(Long templateid) {
        this.templateid = templateid;
    }

    public String getTemplatename() {
        return templatename;
    }

    public void setTemplatename(String templatename) {
        this.templatename = templatename;
    }

    public String getTemplatedes() {
        return templatedes;
    }

    public void setTemplatedes(String templatedes) {
        this.templatedes = templatedes;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public Long getByuserid() {
        return byuserid;
    }

    public void setByuserid(Long byuserid) {
        this.byuserid = byuserid;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getByrealname() {
        return byrealname;
    }

    public void setByrealname(String byrealname) {
        this.byrealname = byrealname;
    }

    public String getYearid() {
        return yearid;
    }

    public void setYearid(String yearid) {
        this.yearid = yearid;
    }

    public String getMonthid() {
        return monthid;
    }

    public void setMonthid(String monthid) {
        this.monthid = monthid;
    }
}
